import request from "@/utils/request";
export const getList = (params) => {
  return request({
    url: `/bet/getList`,
    params: params,
    method: "get",
  });
};
export const addList = (params) => {
  return request({
    url: `/bet/addList`,
    params: params,
    method: "post",
  });
};
export const editList = (params) => {
  return request({
    url: `/bet/update`,
    params: params,
    method: "post",
  });
};
export const updateKey = (params) => {
  return request({
    url: `/bet/updateKey`,
    // headers: { 'content-type': 'application/x-www-form-urlencoded' },
    data: params,
    method: "post",
  });
};
export const delCurRow = (params) => {
  return request({
    url: `/bet/delete`,
    params: params,
    method: "post",
  });
};
